//
// Created by hay boy on 2022/7/4.
//

#ifndef ALGORITHMS_QUEUE_H
#define ALGORITHMS_QUEUE_H

template<class T>
class Queue {
public:
    virtual ~Queue()= default;
    virtual bool empty() const = 0;
    virtual int size() const = 0;
    virtual T& front() = 0;
    virtual T& back() = 0;
    virtual void pop() = 0;
    virtual void push(const T& theElement) = 0;
};
#endif //ALGORITHMS_QUEUE_H
